#pragma once
#include "Timer.h"
#include "DrawableObject.h"

namespace lib3dw
{
	class Animation
	{
		public:
			Animation(DrawableObject* animatedObject, Vector3 startPosition, Vector3 endPosition, float animationDuration);
			~Animation();
			const bool IsFinished() const;
			void Update(double frameTime);

		private:
			DrawableObject* object;
			Vector3 start;
			Vector3 end;
			double duration;
			double timeSpent;
			bool finished;
	};
}